package com.tj.collection.db.dao;

import com.fqgj.common.api.Page;
import com.tj.collection.db.entity.business.ClOutboundEntity;
import com.tj.collection.db.entity.business.ClPaidEntity;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * User: pavan
 * Date: 2020/2/8
 * Time: 下午5:53
 */
public interface ClQueryDao {

    List<ClPaidEntity> selectCollectionPaidList(String merchantCode, Date startDate, Date endDate, Page page);

    Integer countCollectionPaidList(Map<String, Object> params);

    /**
     * 根据逾期天数查询待拨号订单
     *
     * @param merchantCode
     * @param overdueDays
     * @param channelSource
     * @param page
     * @return
     */
    List<ClOutboundEntity> selectOutboundList(String merchantCode, int overdueDays, String channelSource, Page page);

    Integer countOutboundList(String merchantCode, int overdueDays);

}
